Ext.onReady(function(){
	
	var firstActive=true;
	
    var tabs = new Ext.TabPanel({
    	id:'tab',
        renderTo: 'tabPages',
        activeTab: 0,
        width:1000,
        height:800,
        bodyStyle:'padding:10px;',
        plain:true,
        defaults:{autoScroll: true},
        items:[{
                title: '<table width="120"><tr><td rowspan="3"></td><td>客户查询</td></tr></table>',
                html:'<iframe src="view/risk_report/TenBiggestCustomersQuery.jsp" frameborder="0" width="100%" height="100%"></iframe>'
            },{
                title: '<table width="120"><tr><td rowspan="3"></td><td>债项查询</td></tr></table>',
                html: '<iframe src="view/risk_report/DebtECQuery.jsp" frameborder="0" width="100%" height="100%"></iframe>'
            }
        ]
    });
});